/*
 *  Logger.h
 *  tractionedge
 *
 *  Created by Steven Hamilton on 4/10/10.
 *  Copyright 2010 n/a. All rights reserved.
 *
 */

#ifndef LOGGER_H__
#define LOGGER_H__

#define LOGGER Logger::instance()

#define LOG LOGGER->log

#include <iostream>
#include "Utility.h"



class Logger {
private:
	Logger(const Logger &);
	Logger& operator=(const Logger &);
	Utility tool;
public:
	Logger(){}
	~Logger(){}
	//methods
	static Logger* instance();
	void log(std::string const str);
	void log(int, std::string const str);
};

#endif
